added LDFLAGS and PKG_LIBS