Creating all the needed directories before build