Replaced hard-coded ProjectTemplate

Uncommented the hardcoded values, use the library directory to find
ProjectTemplate and Makefile