fix grep on windows, add midje-mode