Fix some warnings on OSX
Merge pull request #73 from ngoyal/master

Fix some warnings on OSX