fix case
allow compiling with assert=no
allow compiling with amalgamation=yes