Fix OS X build failure

Fixes #111