Fix XMP windows crashes by importing libxmp before all modules are loaded.