added flags to use OpenMP