updated C wrapper for MCPE

While not the best solution, this does allow the C wrapper to compile.