Changed mono_path profile replacement to be case insensitive.