Fix the function pointer declarations so MSVC likes them.