Fix demo in PHP 5.5 environment by updating libraries