Move a few defines to buildinfo.h