fixed os arch handling
Merge pull request #8 from Prajithp/master

fixed os arch handling