use -fno-math-errno in native lib builds too