libm: add missing endif