Adding configure check for OpenMP flags, disabled by default.