Merge pull request #18 from chestersolutions/master

fixed wrong check resulting in compiling altough cache existed:
'root' is a link to the input file, not the cache file name
prepare for release
Merge pull request #1 from ndeet/master

Pulling latest version from ndeet