fix homepath to work on linux