directory detection should now work on BSDs, added AIX alternate path
Merge pull request #5993 from bcoca/md5_bsd_aix_compat

directory detection should now work on BSDs, added AIX alternate path