remove unused variables.
abs() doesn't belong here.
Purge local libgcc -- use compiler provided version.
Eliminate some previously defined warnings.