VS2013 compatibility fix