Update cms-test.pl to handle some Unix like Windows environments where