Fix cmake build