I managed to install it properly (I installed it with the zip option, and deleting the .S file, changed the frequency to 16MHz in twimaster.c) and my sketch compiles.
But the problem is that my program never start when I transfer it to my board.
You also need to delete C:\Program Files (x86)\Arduino\libraries\i2cmaster\test_i2cmaster.c. This file is not actually part of the i2cmaster library, but if it's in the library folder it gets compiled. test_i2cmaster.c is a test program that uses the library. This file defines a main() function, which overrides the Arduino core library's main() function. The Arduino core library's main() is what calls the setup() and loop() functions in your sketch. So when the Arduino core library's main() is overridden, it causes your sketch to not run.