Need pkg-config too.
Added compilation flag work-around for ancient versions of libosmpbf.