Fix warning about unused parameters when not building for Mac.

Trivial, quick fix for a compiler warning.