remove duplicate CFLAGS and SOLINK definitions that are