Changed mono_path profile replacement to be case insensitive.

This is wrong monoPath can point to /tmp/foo