Fixed ctest for paths with spaces.