If people run make -j, the targets are run in parallel in a random order. So we need to create the directories.