possible fix for gcc math-related failures