The `sed` command only with `-i` option has not been supported on macOS platform, and so it causes build error on macOS. Fix Makefile so that it passes on all platforms without using `-i` option.
The `sed` command only with `-i` option has not been supported on macOS platform, and so it causes build error on macOS. Fix Makefile so that it passes on all platforms without using `-i` option.