minor changes, keep VS2012 working.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>