Need -lm option with compiling -fdebug to pass large/RayT regress test.