fixed more mono build errors.