Fix OS X compile issue

Backport of aszxqw/cppjieba#15.