Math library fix.