compile.sh: fix x86 build on Darwin

Note:
You may have to install GNU coreutils.
Please type the following commands in terminal.

brew install coreutils