compiler: Support configurable pkg-config command so can cross compile

Fixes bug 690456