Replace nothreads build with min build