use pkgconfig on windows too

Change-Id: I6596c63c7c3b4509ac01c57a37ed1279991da8dc