Replace the old ASSERT function definition