Replace C++11 only features with VS2010 usable ones