Fix GCC warnings about using C++11 features when not in C++11 mode.
Merge pull request #538 from SaberUK/master+silence-gcc

Fix GCC warnings about using C++11 features when not in C++11 mode.