rake: use global exttype in extension