Windows support for CPAN module

This is what I use locally to enable CPAN to run on Windows.