Fix panic when the app is not previously compiled.