Yes, ’ is definitely preferable in this case, but this is worth bearing in mind if you want to set the straight quote.
But you learn not to trust anything in this game - while all ePub readers
should handle ' perfectly fine (ADE does for instance), there are some, particularly the online readers, that don't. O'Reilly's
bookworm reader from Threepress is guilty of this.