Initializing a static TMAP in a Static Library

Not the exact solution for the question but it might help someone: wiki-post by Rama.