Added preprocessor BUILD_ENV_XCODE_4 in preparation for Windows and Linux builds