Fixed string.h in linux and added CMakeList for enable c++11