Compile with -std=c++11