Use install(1) -d explicitly, avoiding the need for -D

-D isn't available on MacOS X by default, but there is not much point
here in using it: we can just create the directories first.