Fix linker flags with gold
Fix linker issues for good