fix bugs
Merge pull request #6 from osdream/master

处理编译问题