compat: wrap math.h to avoid AIX-specific clashes