update pegasus ref
Fix linux build
Fix rnd build missing algorithm