Fix warning on OS X 10.8.