Improve configure autodetection
Description
Several libraries are currently not detected on Debian Buster or Ubuntu 20.04. when octopus is configured with no additional configure arguments besides prefix and enable-mpi. This MR improves the autodetection in this case.
News snippet
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.