fixes #3

it works on windows 8 and mac osx.

Thanks