Fix trampolines, fix *nix build.