Towards a successful linux build

These 3 commits almost fix building Magpie on linux.  Still working on the ExprCompiler.cpp fix.