fix errors on ubuntu 14.04LTS
Merge pull request #40 from Healkiss/master

fix errors on ubuntu 14.04LTS