Fix $PROJECT_DIR problem for paths with white spaces