added pkg-config support for library searching