Fix templates relative lookup
Merge pull request #2 from cray0000/fix-relative-lookup

Fix templates relative lookup