Fix intl build

Turns out that you can't use implicit void pointer casts if intl
is compiled.