remove use of pkgconfig
fix error when install