Make SDL work on mac.