fix hang in test/26fork.t on Win32

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