Be a bit smarter about finding rethinkdb binary.