lo: fix tarball / autogen handling in build