Legacy code from Nexus requires C compiler to compile sucessfully (no casting on void*) adde C compiler.