Stop ignoring CMakeLists.txt and add it
automagically set C++11 support
Get rid of a few compiler warnings on GCC