fix build with -O3 and NEON enabled