Made path comparison case insensitive for windows.