mk1mf.pl: replace chop to make it work in mixture of perls for Windows.