#3 gcc64 needs -lm at the end :(