Fix self test on arm (github bug #58)