Fixed brocken linkage under OSX (char_ptr_bin)
Turn CFSwitches::getInstance() into a static inline method