Fix CMakeList for g++