Fix Mac build.
Fix XamMac build.