replace some $@ with $(SLIBNAME_WITH_MAJOR) in SHFLAGS