rserve fixes: LDFLAGS and friends