Add -lm to c compile command to avoid compile error when use math library

No need for `g++` case?