Interfaces: export classes and their typeinfo.

Fixes Mac OS/gcc stupidity, gcc devs are morons.