How to light an LED controlled by a photo-diode
I ended up using the following circuit instead:


There is a transistor inside  of the LM393 comparator, even more than one, but it is not necessary to care for their properties.