Add --generator flag to pick CMake generator.