It would have helped if you had attached your own class which doesn't work
But in any case, please grab the v4.2 sourcecode archive from the website (log in -> my account -> downloads v4.2, under 'extra' you'll see the sourcecode archive), and use the v4.2 version of the FieldLikePredicate class and port the changes over to that class (after giving it a new name of course so you can use it in your own code).
I think that would be enough to make it work.