Add backward compatibility to Mac OS 10.6