Modified CCompile to use environment variable substitutions