Fix: nullpointer on raw compilation