Fix windows DESTROY_LOCK definition.