use environment variables instead of a constant for precompile phase