requires c++11 so use the right flags