configure: simplify setting of SDL flags in config.mak