fix compile errors
Merge pull request #2 from compleatang/master

fix compile errors