Added MCS barrier for OpenMP