fixed autogen.sh for Linux compilation
Merge pull request #354 from doxav/fixed_autogensh_linux

fixed autogen.sh for Linux compilation