Fix cmake mac