Fix libffi build on Windows