Revert "contrib: move macOS compilation flags to the script where they belong and generalize Darwin OS environment manipulations" This breaks macOS compilation. This reverts commit 625bc3ce.