Remove references to libraries we aren't using anymore