Fix compilation of bytes stub on 4.01.