fix compiling error in Linux
Merge pull request #129 from BernardXiong/master

fix compiling error in Linux.