Remove all references to lib.dir