Fix debug compilation