Fix to make OpenSesame function on OSX 32-bit

(Forgot to add in the last pull request, but is a critical fix!)