lib: fix autogen files dependency