Initial C++11 to C++03 conversion - still needs one line
converted for textures to render again - see TODO in obj.cpp