Replace linker flags for libcrypto, libssl