Fix build error, no such option: --max-complexity

fix #682