Add `lto` option to profiles.

Closes #759.

I'm not sure if I did this right!
Maybe not a fantastic idea on my part, but above this you'll need to add `.lto(root_profile.get_lto())` to ensure we propagate it from the root. Should probably have some sort of exhaustiveness check in there somehow.