see also the new Dist::Zilla plugin
use all $ENV{PATHEXT} when checking commands on MSWin32