Fix abort() on *nix