build: don't use _LDFLAGS for -L/-l options