If the libs are not from github but still are from the old version then you installed the wrong library package. You either need to manually download the version 5 libraries or install the correct version of the library packages.
For the manual solution take a look at this: How can i install a specific version of the footprint library?