fix library link step
working as static library