Fix compilation on GCC when -std=c++11 is not specified.
Test compilation with default flags.