Fixing variable reference conflict when a class is being extended more than once

This fixes rxi/classic#1