uses nm options that arent supported by our nm

Index: tools/defcheck.py
--- tools/defcheck.py.orig
+++ tools/defcheck.py
@@ -64,6 +64,7 @@ ignore_sorting_errors = [
 ]
 
 have_errors = 0
+sys.exit (have_errors)
 
 
 #READ LIBRARY SYMBOLS
