DPLASMA is a highly optimized, accelerator-aware, implementation of a dense linear algebra package for distributed heterogeneous systems. It is designed to deliver sustained performance for distributed systems where each node featuring multiple sockets of multicore processors, and if available, accelerators, using the PaRSEC runtime as a backend.
Previous attempt at fixing scalapack detection broke building with MKL, this fixes it.
Also change the CompilerFlags to not redo some of the detection that is cached anyway.