Add `lto` option to profiles.

Closes #759.

I'm not sure if I did this right!
Hmm. Would that mean that `-C lto` would get added to the compilation of every dependency, even if it's a library? (Maybe I'm misunderstanding, but I thought `-C lto` only made sense on the "final" artifact.)