fixing library paths