Ensure public and static directories are created