modified autogen.sh to work with os x 10.9