fix "pkg-config --libs sdb"

statical linkage doesn't work without this too.