On Windows normalize $^X using GetLongPathName()
If perl.exe is called with a short pathname, then GetModuleFileName()
will return this short name, and $^X will be set to it. This in turn
is used to initialize @INC to privlib, sitelib and vendorlib locations
relative to $^X, so they too will end up with the mangled short names.
Perl will also automatically add versioned Perl directories in the
same tree if their names start with the same major and minor Perl
version numbers. This heuristic can be broken when the pathname
components are using short pathnames. Therefore $^X and @INC should
all be normalized to use the long pathname format.
See also http://rt.cpan.org/Public/Bug/Display.html?id=47890