Fix support for em extended toolchain.