Improved Support for XAPIAN::DB_RETRY_LOCK in Windows by using LockFileEx() : Patch