Remove lots of Win32 cruft
Refactor querying of package installation path