diff --git a/scripts/packageBinaries.pl b/scripts/packageBinaries.pl
index f7b08949b884b4ebb3725f5a130ab5a40e71b00d..45f702ff08d852120ec20813f0c61ea0530fa7a2 100644
--- a/scripts/packageBinaries.pl
+++ b/scripts/packageBinaries.pl
@@ -183,19 +183,19 @@ if ($platform =~ m/Windows/  || ($platform =~ m/CYGWIN/ && !($opt_c =~ m/gcc/)))
         $PlatformName = 'Win64';
     }
       
-    if ($opt_x eq "" || $opt_x =~ m/VC6/ )
+    if ($opt_x eq "" || $opt_x =~ m/VC6/i )
     {
         $DevStudioVer = "6.0";
         $VCBuildDir     = "VC6"; 
         $ProjectDir      = "$XERCESCROOT/Projects/Win32/$VCBuildDir/xerces-all";
     }
-    elsif ($opt_x =~ m/VC7/ ) 
+    elsif ($opt_x =~ m/VC7/i ) 
     {
         $DevStudioVer = "7.0";
         $VCBuildDir     = "VC7"; 
         $ProjectDir      = "$XERCESCROOT/Projects/Win32/$VCBuildDir/xerces-all";
     }
-    elsif ($opt_x =~ m/ecl/ || $opt_x =~ m/icl/ )
+    elsif ($opt_x =~ m/ecl/i || $opt_x =~ m/icl/i )
     {
         $DevStudioVer = "6.1";
         $VCBuildDir     = "VC6"; 
@@ -205,7 +205,7 @@ if ($platform =~ m/Windows/  || ($platform =~ m/CYGWIN/ && !($opt_c =~ m/gcc/)))
     else
     {
         print ("Error: Invalid compilers used \n");
-        print ("-x <C++ compiler name> VC6, CV7, ecl and icl \n");        
+        print ("-x <C++ compiler name> VC6, VC7, ecl and icl \n");        
         exit(1);            	    	
     }