Add environment.h,cpp to XCode project and restore build from XCode.
Merge pull request #151 from simartin/xcode_build_environment

Add environment.h,cpp to XCode project and restore build from XCode.