Attempting to solve abs overload problem for older gcc compilers.