Revert changes to Perl scripts because building is under Cygwin or Linux