fix #29. add 'darwin' case.

If you use require('os') to get provider name, you will get 'darwin' on Mac OS not 'mac'. #4d52cae3a2 
To see http://nodejs.org/api/process.html#process_process_platform.