fix make.sh
- auto indentation.
- as much warnings as possible, to detect errors early.
- DNDEBUG, flto, O3, to get correct performance measurement.

add a few missing assert() while at it.