Fix OSX compatibility.