Implement flexible target specification

See commit message.
This comment is confusing when taken out of context.  Should be replaced with something like "Tell GCC to avoid linker plugins, because we are not bundling them with Windows installer, and Rust does its own LTO anyways"