Fix test for armv7l and ppc[64] machines