Link against libxmp-coremod instead of libxmp.