Necessary changes to OpenCL MC Solver to build from source (sigh). Also, lot's of bug fixes