Currently, the only thing that prevents a functioning 64-bit ficl build is a few integer types that were intended to be fixed-width.
Changing them to C99 integer types allows building a functioning 64-bit ficl.
I tested this a while back locally the last time I was working on a Petitboot loader.