Fix the build when isinf is a macro.