Fix for Mavericks.