Fix warning on Mac.