Fixed Win32 Support

Fixed engine to support Win32