adding changes to make bytecast-interp compile