Change -lm flag for FastTree