fixed Makefile to identify default compilers and libraries when compiled on NERSC.