Adding Phils code to make this stuff compile on Mavericks