Careful quoting of paths in cmake helps if filepaths have spaces.

Fixes #718