Change some functions to return bool and not BOOL in Config.cpp.