[head] fix seafile build