Build scripts & automatic generation of FFI files