- fix the x86_64 trick by directly embedding the code in the template, as this avoid the various scoping problem