build: add ivory assertion flag to CXX args.