Tweaks to save flash space.

With some added compile and link options, and a dummy implementation of a
libstdc++ function, nearly 100KB is freed.