added -Wall in CMakeLists.txt