Add basic implementation for MacOS X