Build tweaks, better control metadata, gcc optimizations.