Fix mono build