Cross-compile functionality