changes to compile on 64 bit Debian jessie
compiles except libnorm