Fix code gen without executable.