Sync from libucl
Fix case insensitive options