changed log output in mpCompileFunction(),
fixed function pointers for C++ compiler