Update CMake file to fix buildbots.