add USE_PKGCONFIG support