fix build on new cmake