[FOLD] beast compile fixes