Add pkg.m4 for win32 builds

MinGW usually does not have pkg-config, without this macro autroeconf -i
will fail.