Corrects path to lib/templates directory.