Since JRuby 1.9 doesn't require posix/spawn, only follow that path if JRuby is loaded and running in 1.8 mode.
Merge pull request #291 from liveh2o/master

JRuby 1.9 doesn't require posix/spawn