fix build in XDEBUG mode