Correcting the bug on macOS and abs->fabs