update for building with librtmp