Fixed Math library build on GCC.