Mostly just add missing $(GST_BASE_CFLAGS), but also fix up order of flags (see docs/random/moving-plugins).