Replace BOOLEAN data types for simple INTEGER types to ease portability