Fix warning about unused parameters when not building for Mac.