Use this-qualified lookup for base class references

Declarations in dependent base classes are not found by unqualified lookup
in GCC 4.7; qualify them with "this->".