fix breakage when compiling for armv6