Fixing Mavericks problem where data dir can't be found.

This should fix that issue -- but please check with Windows and older versions of Mac OS X - I am unable to.