Fix to make OpenSesame function on OSX 32-bit