-lm included as flag