Move types dir to egroot/egc/internal.