OpenAL support for Mac OSX.
Safeguarding other platforms against win32 API calls.