Added timeout helper to build script.