Changed mono_path profile replacement to be case insensitive.

Use case insensitive comparison instead