Fix compile errors
Merge pull request #27 from Hackerpilot/fix-compile-errors

Fix compile errors