Fix cmake on linux