turn on C++11 when available
bump RMF to fix c++11 problem
simplify compiler macros a bit