fixed template build

14s compile time. More like sub-second