Fixing curaengine so it can compile the latest git head