Fix mono build

This will fix the mono build for a non-windows platform.