Attempt to fix mono build warnings