Compile with --std=c++11.
Merge branch 'cxx11' into develop