Temper 'libm' testing -- if 'atan' is available straight from libc, no need to include libm. Merge to STABLE