Only sets flush directory on 2.1+