Added support for OS X 10.6

Some of the features being used in `cocoa_window.m` are specific to OS X 10.7+

So I added preprocessor macros to ignore those. I've built GLFW on 10.6.8 using these settings and used it with an experimental version of openFrameworks.

If there's a cleaner or different way to do this, that would be great :)