compilation

Fix compilation error on 64bit FreeBSD boxen.
fix from https://github.com/MordicusEtCubitus -- thanks.
closes #8