Dc/languages fixes

Fixes for https://github.com/Block8/PHPCI/pull/678