build libpri in /usr/src directory