Fix broken build due to shared options object side effects