s3:ctdb library: fix the build against older ctdb versions