Remove invalid use of assert

The value is checked directly under it, and this is an entirely
valid use-case.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Change C-style includes to proper C++ includes

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>