pkg-config: fix cflags/ldflags on linux

* call configure from the internal-glib dir, specify libiconv=gnu
* enable libiconv dependency on non-freebsd platforms