wire.h is a library that is specific to each implementation of the hardware. This library has not been converted for the Galileo in the official release of the IDE. The servo.h file, also has not been converted for Galileo in the official release (though there are official work arounds documented in the release notes and Mikal.Hart has created a version that can be downloaded https://communities.intel.com/message/221795#221795)
I am not sure where you copied the libraries from, but most likely it will not work correctly. It think most versions of the wire.h library are still Arduino specific versions, which are not compatible with the implementation on Galileo.