conditional compiling for osx not to use initializer lists until qt issues with that is solved. Include of math.h in m2idriver.cpp was missing.