put ifdef protection around the rest of the libpri function calls that were added...