use LDFLAGS for linking

that's ugly, but it tricks libtool into linking with strmiids/uuid