Fixing compilation issues - try#: 2
Fixing scripts try#: 3
MOAR cross platform fixes...
Merge pull request #4 from Simmetrics/master

Cross platform fixes...