Fix build system for Mac OS

enable to use `make -e SED=gsed CP=gcp XARGS=gxargs ...`