Manually define gpointer and gboolean for JNAerator on Linux

This is most probably not a real solution, as these are defined in
/usr/include/glib-2.0/glib/gtypes.h. However, this solves compilation
errors for the time being.