add visual studio 2010 solution

Signed-off-by: lizhenghn123 <lizhenghn@gmail.com>
fix compile error in vs2010

Signed-off-by: lizhenghn123 <lizhenghn@gmail.com>