fix in the cmake scripts