fix CMakeLists.txt for linux