Substituted assert for RL_ASSERT.

This is the first part of changes that make it possible to run this not
under RRD.