Fixed compiling.

Author:yangyingchao, 2013-02-07