add pkg-config support
switched to autoconf