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