Fixed errors with -g3 in Linux.
Fixed c++11 being put back in the cmake files.