fix compile errors
Merge pull request #9 from alecjohanson/alecjohanson

fix compile errors