fixed compile error (unused variable in main.cpp) from new light source