Add -g to CXXFLAGS
Use C++11 as default