add a small wrapper around PKG_HAVE_DEFINE_WITH_MODULES

this automagically adds CFLAGS/LIBS to keep code DRY..