included more logic into opencmiss petsc config (threads, some fortran symbols)