[Bug 737528] Switching to ld linker breaks gcc -flto