make it work on 64bit CAS incapable machines