Added compatibility for Visual Studio 2013