fixed minor bugs in openmp config
fixed bugs in prwlock configuration