implement get_exec_path for FreeBSD