enabled the build system to take paths to third party dependencies from environment variables or directly from a cmake variable (passed in via the -D switch to cmake)