Fix host arch detection for unix systems.