Detect the correct Erlang path on FreeBSD/PC-BSD

Signed-off-by: Christopher Hall <hsw@ms2.hinet.net>