build with pgk-config fixed