fix -compatibility 64bit