-std=c++11 no longer needed