Removing extra libraries