OS X mav was having trouble linking im_init_world() via the C++ API, so we now have C++ functions for startup and shutdown.