Got rid of warnings during compilation on windows platform.