Some very minor speedups/cleanups.
Update compiler flags for k10.