Fix issue with undefined PROJECT_DIR