Fix $PROJECT_DIR problem for paths with white spaces

First thing I've just spotted while trying to build your plugin.