Explicitly adding the math library (for Ubuntu compilation)