fixes to get Purr building on catalina
This should get Purr Data building correctly on OSX Catalina.
Mostly just implicit declarations in various old external libraries.
Did have to remove [apple/keyboard_layout]
, though. I can't find those carbon.h function calls anywhere on the web.