Add overridden Java environment variables for build