added compatibility for SmartOS md5sum
Merge branch 'smartos' into scalp