Patch library to work with Linux

Linux apparently doesn't have the user/os package, so we'll have to use a different method to get ahold of the users home dir using the os package.