Fixed expression error on ubuntu

While this error doesn't happen on my mac, it happens on Ubuntu 12.10. I also added a pull request to the wrapper `gomdb` that fixes an integer overflow on Ubuntu 12.10.

Signed-off-by: Daniel Fagnan <dnfagnan@gmail.com>