Add pwritev() compat function. Link -lcrypto for OpenSSL.