fix compilation problem on OS X caused by a missing implementation of a virtual method