common/environment: add configure cache overrides for socat.
socat: cross build support.