Fix warning on mac.