calling GC_init when appropriate fixing some ios bugs adding ios_static_buffer
removing some unnecessary #includes