Add POSIX compatible case insensitive compare