Workaround for issue #378 handling pwd -W on root folder inconsistency.

This is a workaround for the inconsistency with pwd -W in patch 0005-mangle.mingw.patch, for the package "pkg-config". By removing the trailing slash generated when setting root=$(cd / pwd -W) the check succeeds and the build is able to complete.