build: tms470: work around glibc math.h problems