call pkg-config instead of curl-config