correctly pass list options to CMake command line