Add cross-compilation flag and disable tests as specified.