Fix abs/fabs problem with Clang and libc++

Prevents the error: use of undeclared identifier 'abs'; did you mean 'fabs'?
with Clang 5 on Mac OS X Mavericks