Fix build on MonoMac