A small fix for the ONX makefile.
Fixed check target (it couldn't find the basis sets).
Cleaned up some internal variable names.