fixing library dependencies