[OpenMP] Needs -fopenmp in main application, otherwise segfaults