hammer.git: implement cross-compilation aware pkg-config

Implement cross-compilation aware pkg-config.