Revert the last change and try casting.

Nope, still not working. Have to find the exports list for
libxul, I guess.