Move mkdir calls from before-install script