fixes to lib path