Removed some libraries, fixed others.