Case insensitive key search in configuration options

fixes issue #1260