Make paths unique in the path builder.
Add support for PATHEXT environment variable.

I'm not happy with the PlatformLocatorFactory, so that will likely need
to change.

This should finalize support for Windows (#5), although I need to do
some testing to make sure this does work on an actual Windows box.