add rpath to LDFLAGS to build plugin properly