Added parametrized builds.

See new parameters for building PETSc using optional build dependencies
specified in profile.