Fix missing library load on included template