Fixed a Windows incompatibility