fix no "-shared" flag when building libcrypto.so

which may cause building errors like:
```
ld: error in libcrypto.a(cryptlib.o)(.eh_frame); no .eh_frame_hdr table
will be created
```