M: fix CMake build on linux