path fixes for lib directory