Restore compatibility with msvc9

Visual Studio 2008 does not support C++11