Sync bugfix from libucl.