add --enable-gprof option for configure