fixed SANITIZE=thread linking (nw)