Fix dependency generation for .S files.