Fix C++11 support for linux.