Dirty workaround for NoClassDefFoundErrors