Fix Mavericks regular expression from e24ec0d