integration fix

this will help downstream projects like http://rzr.online.fr/q/snapshot

btw It builds fine on x86 not x64 yet