maybe removing CMakeCache will help build correctly