Fixed issue where HOME folder was not found on linux