Fixed bugs in LightSensor library, now it should compile