Fix compatibility with MSVC's C89 support.
Fix compatibility with newer libffi on Windows, if we are using a system-provided version)