should fix compile errors in photons.cpp and vfedisplay.cpp.
Hopefully also fixes compile error in boost/bind/bind.hpp.