config: Add the libffi version to check for.
config: Remove the qemu test patch for MinGW.
sb: Fix pkg-config to handle quoted libraries.