A lot of comparators can only sink current to GND, and not output a voltage.
Therefore you have to modify your circuit a bit.
Instead of connecting the led between the output and GND, put it between the positive supply rails and the output.
Aditionally, you might want to put another resistor parralel to the led to pull the output closer to the supply rails if the led is off.