add flags on dep static libs to make them link into the shared lib too