Fix warning about unused parameters when not building for Mac.
Merge pull request #356 from miigotu/fix-warning

Fix warning about unused parameters when not building for Mac.