Create static ctor if there none.