Using I2C via Wire.h on the MKR Zero

Hello guys,
in past I used a mini pro combined with an MPU6050 gyrosensor, but now upgraded to the MKR Zero. As I wanted to run my own files they didn't compile so I tried running a basic example sketch that uses the Wire.h and I2Cdev.h library - it didn't compile.
"TWBR = 24;" didn't work because "'TWBR' was not declared in this scope".
I deleted this line, then it says "'BUFFER_LENGTH' was not declared in this scope" but in the code there is no call for BUFFER_LENGTH...

Can you please help me?