small changes to nwchem-oriented build