bugfix: fixed build failures with OpenSSL older than 0.9.8f. thanks FFCZ for the report in #413.