restore compatibility with cgo.wchar

Looks like functions have been renamed in the meantime ...
Merge pull request #2 from benallard/patch-1

restore compatibility with cgo.wchar