Compatability for OS X