Add option to build the SDK/library with Link-Time Optimization

This is used pretty heavily on the Dolphin-Emu project, so I figured it might be quite useful here.