add ifdef for OpenMP