remove use of pkgconfig
fix error of install