Updated for latest version of libpd.