make dummy_pg_sleep work with xivo-dao from master