fix buildscript not running in pararell, wait for mkdirp to be done