add libmodplug and little fixes