fix 32 bit issues

fixes genometool/genometool#214
Merge pull request #218 from Garonenur/dw32

fix 32 bit issues