Improved build scripts.