Nobody is mentioning this, so I will.
You need to have the target board selected before you compile, not all boards have a Wire.h library.
This will only impact you if you are programming obscure and small Micros with the IDE.
So you can't be using the "MicroCore" ATTiny13 Core and expect it.
Basic computer skills : On Windows use "dir /s" to search for files. Wire.h is a file.
For bash you can use find.