Move most of the `compiler` collection to `compiler-lib`.