fixed os name problem

I had been led to believe, from looking up this error online, that the os.name would be mac, but it's actually posix.