fixing compilations.
Merge pull request #24 from ScrapCodes/compilation-fix

fixing compilations.