Use locate_template rather than diret include

To fix #7