Removed check for -lm, winegcc takes care of that.