Add mkdir command and separate build tasks