Added doExitHijack stub and made things actually compile