Fixed compile error in VS2013