[Bug 714103] 12.1 M3 gcc compile improper links