find the math library on *nixes