extend global CFLAGS and LDFLAGS to aid distro packaging