dnsmasq: obey CFLAGS & LDFLAGS

JIRA: SB-2591

Signed-off-by: Christopher Larson <kergoth@gmail.com>