Fix the error compile on linux~

Sorry I did not test the pull request on linux platform. And there have a compile error on it.
Right now I test on both windows platform by visual studio 2012, and linux platform by gcc 4.7.