Do not link dl if on FreeBSD