#137 fix osx build problem