Fix to work on OS X 10.9.

 - Replace CGMouseDelta by int32_t (saw that in SDL).
 - Add new X header location.
 - Set SDK to 10.9.