[seafile-client] fix build for os x 10.6