X509 Generator sample

Forcing static linking for lib wrapped as in other case doc tests
fail to locate the static library
Nice trick, didn't know about it. Done.