fix armv7 bug on linux