Not sure why we're trying to reuse THREE. Probably better to redefine it from scratch. See #3209.
Updated builds.