Remove useless per arch CXX flags.
Add the '-lto' linker option for release compiling profile.