Add cross compile support