Add cross-compile support.