FreeBSD linker pulls in libmath indirectly, so this is a no-op on standard configuration FreeBSD (all releases), but fixes DragonFly.