Fixes home directory issue on ubuntu 12.04 (probably other *nix envs as well)