Corrected cross-platform bug fix
Merge pull request #7 from Arrvi/master

Corrected cross-platform bug fix