FreeBSD static linking fixes