Improved static binary build scripts.