Moved shared option outside of targets.