Link to -lber if it's present (Ubuntu 13.04 and probably other).