add -lm to a few more command lines now that utilities.c depends on math.h