Fix for visual studio