Fix .gitmodule to not only work for OSX home file paths

Fixed .gitmodule to work with other OS and not just OSX $HOME paths.