build shared libraries, make it compatible with python-interface