Fix for issues when building with steal-tools

Some of the previous domless checks were removed somehow which was breaking the builds with steal-tools. This just adds those checks back in.

We should create a test that checks that builds will work.