codegen: Generate a const with the name of the native dll

This PR introduces the following changes to tht code generation behavior: