Clean up the last references to math.h, and touch up the SPEC file a bit.