Fixed Visual Studio compatibility