Fixed build errors and added moved Config.h.