add equality operator for windows build