Fix debug builds (doh)