C++ Foreign Import Generation