Made perfmon_tests.cc compile on Linux, by including <cmath>.