Fixed waring on _exit during compile