Fix autogen on older systems