Mac framework support

Here's some support for using the Mac framework provided on libsdl.org.