Fix weird CMake error

This actually worked fine on Windows...