Fixed compile-time error on VS2013 (I think)