fix the compile process. it now compiles under 64 bit gcc