[#2284] mac-specific fix for getopt for iadmin mkdir