Add missing string.h to image module
Fix n00b error in joystick init loop
OSX compatibility in Makefile