Define executable before setting flags