Build problems

This fixes two warnings and gets rid of constantly rebuilding autorevision.h and its dependencies.