[seafile-client] fix for osx 10.6 build