MonoMac support changes

Changes to get Monomac to build.