Set proper LDFLAGS on OS X

SDL on OS X requires two extra linker flags to work properly:

```
-framework Cocoa # to link against the core OS Cocoa libraries
-lSDLMain # mandatory for SDL on OS X
```

This patch updates the Makefile to add these to LDFLAGS on Darwin.