[PATCH 2/3] configure: Use the pkg-config specified libs also for MinGW checks.