Trying ideas for disabling locks if openmp is not available