Fixed compiler issue with missing semicolons

make omp and make mpiomp were failing because of missing
semicolons before pragma declarations. Addressed the issue.