[mpi] local_size* function properly selected at compile time, tests skipped if library is missing