Fixed some build errors on Travis-CI
Fixed some build errors on Travis-CI

Trusty is now the [default](https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming) distribution which doesn't support PHP 5.3.

morozov/phpbrew,morozov/phpbrew,phpbrew/phpbrew,phpbrew/phpbrew,phpbrew/phpbrew