Deal with missing generated code directory