Fix debug building