fixed mkdir of BUILD dir