modify sh so that generate so at ../lib/xx.so