Fixed compil problem on 64 bit archs