Fixed build script to use autogen instead of missing configure