Fix debug NDLL builds for Lime