fix permissions & typos

also added missing brew dependency, php55-mcrypt