Adjusted build for compiled templates