[polyml] (Pseudo) static linking with C