Switch to threadsafe builds.