fix compile error in case openssl < 1.0.1 (#79)