osx fix so autogen returns 0