Added C++11 support for GCC to the build system.