Move command line options to the users of libLTO. Fixes --enable-shared build.

Patch by Richard Sandiford.