support vs2010 and vs2012
支持vs2010和vs2012

Signed-off-by: Wanpeng Song <swpustc@mail.ustc.edu.cn>
Change namespace setting for vs2010
为vs2010重设命名空间

Signed-off-by: Wanpeng Song <swpustc@mail.ustc.edu.cn>