fixed a problem with relative paths in the cmake file