Got rid of hardcoded paths in CMake files.