Fix passing list variables to project cmake run, in particular CMAKE_OSX_ARCHITECTURES