fixed mac compiler errors
Merge pull request #43 from nitya-subramanian/master

Fixed mac compiler errors