Fix crash on launch of bundled Mac app