Fixed Visual Studio compiler error