Fix for osx 10.5 compatibility.