fixed build errors
Merge pull request #2 from jnjosh/master

Error fixes