Rename lib to library

Because the .gitignore is told to ignore lib files and folders, so we’d
need to rename lib to library to prevent it being ignored.