fix compilation on 64-bit Linux systems
extend base-type definitions for 64-bit (preliminary)