config: Rework configure tests for missing MPI symbols
setup.py: Consistent use single quotes for string literals