Make it work on Darwin > 12. Stripped out dragonegg code since it doesn't seem to work.