config: fix ABI breakage in BSD build