Fix building bindings
Fix crash in pf*
Fix IDA->r2 python script
set RIOMap->flags on r_io_reopen