Link _pyaccess extension with -lgomp flag.
Only add OpenMP flags on non-Mac or if USEOPENMP env var is set.