fix lib dependencies