fix install script to mkdir for manpages

the directories may not exist.