try to make the bootstrap more reliable
copy build artifacts to pkg dir