Add NO_F2008 alternative to error stop statement.
Add -lmpich.cnkf90 for MACHINE=bluegene.
Move LD_FLAGS before -o in linking step.