Minor fixes to validate MPI, seq, regtests

Some minor changes and cleanup were required to compile without SHMEM.
Tested with 4, 8 and 16 proc with SHMEM and MPI.