add gtk mac integration

(fails to compile with llvm on my machine)