fixed compile errors
Merge pull request #2 from faltermj/master

fixed compile errors