fix ext so deps for parallel builds