remove leading slash in lib path