add target to build as static library