Restore POSIX::Spawn functionality for ruby 1.9 and later