Remove unused and unsubstituted variables from Makefile.settings.in.