Reduce build-time dependencies to allow building without xtend.