Minor windows compatibility fix