Enables __dirname to resolve to full path on PC (POSIX)
travisplexer: pr-147-osx travis ci test