Fix missing target parameter for primary test targets (e.g. aarch64), and adjust integration tests to work with cross.