adaptations for using autotools.