osx: fix build

Or at least I hope it fixes it, since I can't test.

Broken by commit 0d90dd0.