Add a 'getBuild' function; use it for 'last'