add macro to allow msvc++ 2010 to compile (not c++11 compat?)