Automatically build genbuild.h if not exists