Build number uses local variable instead of global env.