fix hang in test/26fork.t on Win32

See https://github.com/ingydotnet/inline-c-pm/pull/31 for bug description.

Even with this fix, the tests randomly fail due to a race condition where
the .dll can not be deleted from disk while still loaded in a process.