fix pkgconfig issues and update its bep and packages.