- added shared patch, build shared libraries