Fix evaluation of predef option when it's an object