Merge pull request #217 from chrox/master

add missing munmap declaration
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
```