Currently one would have to pass a `macos` flag explicitly to build on OSX, but if we replace `macos` with `darwin` this happens automatically. Signed-off-by: Tom Gundersen <teg@jklm.no>