redoing tilt.c os x fix