Link libm on unix platforms.