ppp: link with required libraries