Added x86 trampoline for simulator