modified autogen.sh to work with os x 10.9

modification to make autogen work with os x