Added LD_OPTIMIZE config setting (link-time-optimizations).  Disabled by default.
Implemented on mac.