add -std=c++11 to CXXFLAGS to fix shared_ptr issue on recent GNU compile...

Prevent compiler from whining about shared_ptr