added openmp flag and lib