Update Makefile.in

Only use gold flags if gold is enabled