Add version defines to config.hpp.in.