Include math.h for log(3).
Fix single-backend usage again.