add missing m4 from armci-mpi and restore weak symbol check