Add conditional execution of cross-compilation variable defs