This is a follow up for #5742 to fix `make install` so its mkdir usage use explicit permissions rather than relining on the inherited umask.