Add support for mac os