Fixed up the libraries