Fix make install not installing templates

This also is the proper fix for the problem commit
30d831afbcbd2d60dd206b557b6f8551ed18e20d tried to fix.