Fixing building with cmake