Fix for Microsoft compiler