Update build script, and reworked EFUN related icode

the new efun + operation limit is ~65535. (referenced by a "short")