Fix build on older CMake