Fix REE build