Fixed missing link to math library (by Thomas Koch)