fixing library directories