Fix seafile and ccnet server build