Moved OpenMP detection to separate file.