Added pragma pack macros and __attribute__((packed)) to conversions
Added const to custom cross function get_vtable_fn and get_portable_base