change mkdirs for install -d
yes, I know I'd decided to use mkdir because it only creates
directories, but since some directories also require extra permissions I
didn't wanna mix mkdir+chmod and now I ended up with some dirs created
with mkdir and some with install -d and i hate it.