linking static libs