Hacky c++11 switch

 Another take on a hacky approach to c++11 on OS X.  Created only for testing purposes.