Remove all rustc-link-lib from the std build script. Also remove use of feature = "restricted-std" where not necessary.