Merge pull request #127 from komatits/devel

fixed a bug I had introduced in OMP END CRITICAL