disable mac os x 10.7 specific functions