Rename libply -> libtriply to avoid name conflicts