Use a clean environment for building during the test run.
Merge pull request #112 from rjackson/use_clean_env_for_building

Use a clean environment for building during the test run.