Makefile: Detect working directory based on makefile location.
Updated language template.