Updated build scripts for linux. CMakeLists now explicitly adds C++11 flag on G++