Fix some warnings exclusive in visual studio.