fixed the cmake build