select hash type preference from configure script