FreeBSD compilation fixes
Configure sdb upon global configure