fixed autogen.sh for Linux compilation