Add a proper PrependFork for linux

Also fixes a typo bug for AppendExit