Adding OSX to the MJAvailability

Thanks so much for the insight in how to get warnings for APIs. I have wanted this feature for years! I've added similar for OSX and made it work in a single file.