You can have the map be loaded on the C++ layer rather than on the Cython layer.  See nucname [1] for an example of how to do this.  This is better because than anyone dynamically linking to this library won't need to manually call the hashes() functions.

1. https://github.com/pyne/pyne/blob/staging/cpp/nucname.cpp#L130