avoid circular dependency with assert module

Populating the assert on first use to avoid a circular dependency issue with assert.