Adding <math.h> in grammar_test.cc.