added compile flag to enable/disable Gurobi support