Fix ghc-pkg inplace on Windows