Fixed inconsistency from commit 1eae1140 and 0ad6c722 of the order in which Perl was added to the PATH.