Added a missing cassert include to be able to compile it on linux.