Append semicolon to compiled template

A dirty fix until we figure out what's happening.