Optionally use lstat. #42

Introduces a new config variable as suggested in #42.
Merge pull request #47 from FredrikNoren/master

Optionally use lstat #42