Separated Environment build logic for Xamarin.Mac