Implementation of some C++11 functionality for older MSVC/GCC compilers (vs2008, vs2010, etc)