smartlink and C++ name mangling on OS X