Adding OS X Lion 10.8 support