Fix building with Clang.

* Return NULL for function with return type "void *".
Merge pull request #66 from manphiz/clang-build-fix

Fix building with Clang.