fix build flashable function when no mods created