Remove units in parts of `compiler`, `dynext`, `setup`.

Also moves substantial parts of `dynext` to the `compiler-lib` pkg.