opal: fix running on 64 bit