Fix extension build.