build script sets  environment variable as project directory for makefiles