r9031: don't use the global $LIBS variables for posix specific stuff