mkcert fixup

remove all OT dependencies to `mkcert.cpp`
This does not make sense.You copy string to dest and then rewrite first char to \0. You probably want to use mempcy that is GNU extension.