Fixed visual studio release build