Fix compiling on OS X
Merge https://github.com/marksamman/otclient

* https://github.com/marksamman/otclient:
  Fix compiling on OS X