modify target from .so to .a format.