[joystick] need to statically link on OS X for the SDL joystick functionality unfortunately
[sim] need to include path to caml/*.h files for compiling c files on OS X
[makefile] on os x the default mktemp doesn't behave the same (older version), need to use gmktemp from the coreutils macport