Add OSX Mavericks compatibility.