Add Mac OS X support - Mavericks

Please note the Mac OS X 10.9 support is unstable.