Fixed linking error for native code
Symbols were not correctly generated