make __init_tp function static when static linking