Merge pull request #24 from tagoh/master

Add XDG_RUNTIME_DIR support