Delete all references to wrong library